package com.geekstudy.week6.annotation;

import java.lang.annotation.*;
import java.net.URL;

import static org.eclipse.microprofile.config.spi.ConfigSource.DEFAULT_ORDINAL;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ConfigSource {

    String name() default "";

    int ordinal() default DEFAULT_ORDINAL;

    String resource();

    String encoding() default "UTF-8";

    Class<? extends ConfigSourceFactory> factory() default ConfigSourceFactory.class;


}
